docs: add MiniMax reference-image request example - #131
Open
octo-patch wants to merge 1 commit into
Open
Conversation
Signed-off-by: octo-patch <266937838+octo-patch@users.noreply.github.com>
linhongyu510
approved these changes
Aug 31, 2026
linhongyu510
left a comment
There was a problem hiding this comment.
已按当前 MiniMax 全球站与中国大陆站官方 API 文档逐项复核,可以合并。
确认项:
- 全球 endpoint
https://api.minimax.io/v1/image_generation与大陆 endpointhttps://api.minimaxi.com/v1/image_generation均正确; image-01、image-01-live、subject_reference[].type=character、image_file、aspect_ratio、response_format、n和prompt_optimizer均符合当前 schema;character仅用于人物主体参考的边界说明正确;base_resp.status_code、data.image_urls、metadata.success_count/failed_count与官方响应一致;response_format=base64、data.image_base64以及 URL 24 小时有效期的说明与官方文档一致;- 直接读取 PR head 后解析新增 curl 的 JSON 成功,字段类型和值均符合示例;MiniMax 代码围栏闭合;
- 后续引用的 WebP 图片在 PR head 中存在;
- 关键词和历史 PR 搜索未发现同题竞争实现。
官方依据:
- https://platform.minimax.io/docs/api-reference/image-generation-i2i
- https://platform.minimaxi.com/docs/api-reference/image-generation-i2i
验证边界:没有使用 MiniMax API key 发起计费型真实生成,也没有在本地完整克隆 465MB 以上的图片仓库或运行全站 VitePress 构建。PR head 没有 checks / commit statuses,因此本 Review 证明的是新增 API 文档与官方契约及静态结构一致,不代表端到端生成或整站构建已由 CI 验证。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reason: Document the native MiniMax reference-image request and response flow.
subject_referenceobject required for character consistency.Checks:
npx prettier --check --range-start 21035 --range-end 22435 docs/en/stage-1/integrating-ai-capabilities/index.mdgit diff --check